<template>
  <div id="app" class="nightEye">
    <header>
      <!--      <h1 class="primaryText">Luna Material · You</h1>-->
      <div class="toolBox">
        <!--        <LunaButton type="primary">Text</LunaButton>-->
      </div>
    </header>
    <router-view />
  </div>
</template>

<script>
export default {
  data() {
    return {
      dark: false
    }
  },
  mounted() {
    window.document.documentElement.setAttribute('data-theme', 'dayLight')
  },
  methods: {
    modelBrn() {
      this.dark = !this.dark
      if (this.dark) {
        window.document.documentElement.setAttribute('data-theme', 'nightEye')
      } else {
        window.document.documentElement.setAttribute('data-theme', 'dayLight')
      }
    }
  }
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
